import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'home',
    component: () => import('../views/home.vue')
  },
  {
    path: '/binding',
    name: 'Binding',
    component: () => import('../views/binding.vue')
  },
  {
    path: '/sub',
    name: 'Subscribe ',
    component: () => import('../views/subscribe.vue')
  },
  {
    path: '/com',
    name: 'Community ',
    component: () => import('../views/community.vue')
  },
  {
    path: '/internet',
    name: 'Internet ',
    component: () => import('../views/internet.vue')
  },
  {
    path: '/welfare',
    name: 'Welfare ',
    component: () => import('../views/welfare.vue')
  },
  {
    path: '/index',
    name: 'Index ',
    component: () => import('../views/index.vue')
  },
  {
    path: '/veteran',
    name: 'veteran ',
    component: () => import('../views/veteran.vue')
  },
  {
    path: '/feature',
    name: 'Feature ',
    component: () => import('../views/feature.vue')
  },
  {
    path: '/login',
    name: 'Login ',
    component: () => import('../views/login.vue')
  },
  {
    path: '/one',
    name: 'One ',
    component: () => import('../views/particulars/one.vue')
  },
  {
    path: '/two',
    name: 'Two ',
    component: () => import('../views/particulars/two.vue')
  },
  {
    path: '/three',
    name: 'Three ',
    component: () => import('../views/particulars/three.vue')
  },
  {
    path: '/four',
    name: 'Four ',
    component: () => import('../views/particulars/four.vue')
  },
  {
    path: '/hello',
    name: 'hello',
    component: () => import('../views/hello.vue')
  },
  {
    path: '/about',
    name: 'About',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '../views/About.vue')
  }
]

const router = new VueRouter({
  routes
})

export default router
